package com.example.springboot.service.impl;

import com.example.springboot.mapper.PictureMapper;
import com.example.springboot.pojo.Picture;
import com.example.springboot.service.PictureService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PictureServiceImpl implements PictureService {
    @Autowired
    PictureMapper pictureMapper;

    @Override
    public List<Picture> finaAllMenu() {
        return pictureMapper.finaAllMenu();
    }

    @Override
    public List<Picture> findAllDevlope() {
        return pictureMapper.findAllDevlope();
    }
}
